﻿using System;
using ClientOverflow.DataTransferObjects;

namespace ClientOverflow.Core
{
    /// <summary>
    /// Declares the contract of login service in the ClientOverflow application. This service is in charge of
    /// logging in user and reporting that a user was logged in.
    /// </summary>
    public interface ILoginService
    {
        void Login(User user);
        User LoggenInUser { get; }
        event EventHandler OnLoginChanged;
    }
}